package com.bytedance.ttnet.a;

import android.content.SharedPreferences;

import com.bytedance.common.utility.b.ThreadPlus;

public final class e extends ThreadPlus {
    private final AppConfig b;
    private final AppConfig.HttpsFilter a;

    public e(AppConfig arg1, String arg2, AppConfig.HttpsFilter arg3) {
        super(arg2);
        this.b = arg1;
        this.a = arg3;
    }

    public final void run() {
        AppConfig v1;
        try {
            v1 = this.b;
            synchronized (v1) {
                AppConfig.d(this.b).remove(this.a);
                AppConfig.d(this.b).put(this.a, this.a);
                String v0_1 = AppConfig.a(AppConfig.d(this.b));
                SharedPreferences.Editor v2 = AppConfig.a(this.b).getSharedPreferences("ss_app_config", 0).edit();
                v2.putString("https_dns", v0_1);
                v2.commit();
                return;
            }
        } catch (Throwable v0) {
            label_29:
            v0.printStackTrace();
            return;
        }
    }
}

